<template>
 <div>
    <el-container style=" border: 1px solid red; margin-left: 200px;">  
  <el-aside width="300px">
<MainAside></MainAside>
  </el-aside>
  <el-container>
    <el-main >
   <router-view></router-view>
    </el-main>
  </el-container>
</el-container>
 </div>
</template>
<style>
html{
  height: 100%;
}

body{
  margin: 0px;
  padding: 0px;
  height: 100%;

}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100%;
}
.el-container{
  height: 100%;
}

  
  .el-main {
    background-color: white;
    color: #333;
    text-align: center;
    line-height: 160px;
  }
</style>

<script>
import MainAside from "../UserCenter/MainAside.vue"
  export default {
     components: {
      
      MainAside
  },
    data() {
      const item = {
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      };
      return {
        tableData: Array(3).fill(item)
      }
    },
     methods: {
      handleOpen(key, keyPath) {
        console.log(key, keyPath);
      },
      handleClose(key, keyPath) {
        console.log(key, keyPath);
      }
    }
   
  };
</script>